<p class="Paragraph"><help:paragraphinfo state="U" number="3" xmlns:help="http://openoffice.org/2000/help"/>The data in the following table serves as the basis for some of the examples in the function descriptions:</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="31" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Calculates the current value of a formula at the actual position.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="35" xmlns:help="http://openoffice.org/2000/help"/>You can use this function in connection with the cell formatting function TEMPLATE. For example, to assign the current value in a new format to the current cell:</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="148" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Displays the formula of a formula cell at any position.</help:help-text> The formula will be returned as a string in the <span class="T1">Reference</span> position. If no formula cell can be found,or if the presented argument is not a reference, the error value #N/A is set.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="152" xmlns:help="http://openoffice.org/2000/help"/>The cell A8 contains the result of a formula having the value 23. You can now use the <span class="T1">Formula</span> function in cell A1 to display the formula in cell A8.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="38" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Tests if the content of one or several cells is a reference.</help:help-text> Verifies the type of references in a cell or a range of cells.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="41" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Value</span> is the value to be tested, to determine whether it is a reference.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="46" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns TRUE if the value refers to any error value except #N/A. </help:help-text> You can use this function to control error values in certain cells.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="49" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Value</span> is any value or expression in which a test is performed to determine whether an error value not equal to #N/A is present.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="57" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Value</span> is any value where a test is performed to determine whether it is an error value.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="62" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns TRUE if a cell is a formula cell.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="65" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Reference</span> indicates the reference to a cell in which a test will be performed to determine if it contains a reference.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="67" xmlns:help="http://openoffice.org/2000/help"/>ISFORMULA(C4) returns FALSE as a result.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="230" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Tests for even numbers. Returns TRUE (1) if the number returns a whole number when divided by 2.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="69" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Tests if the cell contents are text or numbers, and returns FALSE if the contents are text.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="72" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Value</span> is any value or expression where a test is performed to determine whether it is a text or numbers or a Boolean value.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="78" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns TRUE if the reference to a cell is blank.</help:help-text> This function is used to determine if the content of a cell is empty. A cell with a formula inside is not empty. </p>
<p class="Paragraph"><help:paragraphinfo state="U" number="81" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Value</span> is the content to be tested.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="83" xmlns:help="http://openoffice.org/2000/help"/>ISBLANK(D2) returns FALSE as a result.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="86" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns TRUE if the cell contains a logical number format.</help:help-text> The function is used in order to check for both TRUE and FALSE values in certain cells.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="89" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Value</span> is the value to be tested for logical number format.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="91" xmlns:help="http://openoffice.org/2000/help"/>ISLOGICAL(D5) returns FALSE as a result.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="94" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns TRUE if a cell contains the #N/A (value not available) error value.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="97" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Value</span> is the value or expression to be tested.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="102" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns TRUE if the cell contents refer to text.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="105" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Value</span> is a value, number, Boolean value, or an error value to be tested.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="107" xmlns:help="http://openoffice.org/2000/help"/>ISTEXT(D9) returns the result TRUE.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="108" xmlns:help="http://openoffice.org/2000/help"/>ISTEXT(C3) returns FALSE as a result.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="237" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns TRUE (1) if the number does not return a whole number when divided by 2.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="111" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns TRUE if the value refers to a number.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="114" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Value</span> is any expression to be tested to determine whether it is a number or text.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="116" xmlns:help="http://openoffice.org/2000/help"/>ISNUMBER(C3) returns the result TRUE.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="117" xmlns:help="http://openoffice.org/2000/help"/>ISNUMBER(C2) returns FALSE as a result.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="120" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns the number 1, if the parameter is TRUE. Returns the parameter, if the parameter is a number. Returns the number 0 for other parameters.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="123" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Value</span> is the parameter to be converted into a number.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="134" xmlns:help="http://openoffice.org/2000/help"/>NA() converts the contents of the cell into #N/A.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="137" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns the type of value.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="140" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Value</span> is a specific value for which the data type is determined. Value 1 = number, value 2 = text, value 4 = Boolean value, value 8 = formula, value 16 = error value.</p>
<p class="Head3"><help:paragraphinfo state="U" number="141" xmlns:help="http://openoffice.org/2000/help"/>Example (see example table above)</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="142" xmlns:help="http://openoffice.org/2000/help"/>TYPE(C2) returns 2 as a result.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="143" xmlns:help="http://openoffice.org/2000/help"/>TYPE(D9) returns 1 as a result.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="155" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns information on address, formatting or contents of a cell.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="158" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Info_type</span> is the character string that specifies the type of information. The character string is always in English. Upper or lower case is optional.</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="168" xmlns:help="http://openoffice.org/2000/help"/>Returns the number of the referenced column.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="170" xmlns:help="http://openoffice.org/2000/help"/>Returns the number of the referenced row.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="172" xmlns:help="http://openoffice.org/2000/help"/>Returns the number of the referenced sheet.</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="174" xmlns:help="http://openoffice.org/2000/help"/>Returns the absolute address of the referenced cell.</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="179" xmlns:help="http://openoffice.org/2000/help"/>Returns the file name and the sheet number of the referenced cell.</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="180" xmlns:help="http://openoffice.org/2000/help"/>CELL("FILENAME";D2) returns 'file:///X:/dr/own.sxc'#$Sheet1, if the formula in the current document X:\dr\own.sxc is located in Sheet1.</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="187" xmlns:help="http://openoffice.org/2000/help"/>Returns the contents of the referenced cell, without any formatting.</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="191" xmlns:help="http://openoffice.org/2000/help"/>l = label. Text, result of a formula as text</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="192" xmlns:help="http://openoffice.org/2000/help"/>v = value. Value, result of a formula as a number</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="194" xmlns:help="http://openoffice.org/2000/help"/>Returns the width of the referenced column. The unit is the number of zeros (0) that fit into the column in the default text and the default size.</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="196" xmlns:help="http://openoffice.org/2000/help"/>Returns the alignment of the referenced cell.</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="197" xmlns:help="http://openoffice.org/2000/help"/>' = align left or left-justified</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="202" xmlns:help="http://openoffice.org/2000/help"/>Returns the status of the cell protection for the cell.</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="203" xmlns:help="http://openoffice.org/2000/help"/>1 = cell is protected</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="204" xmlns:help="http://openoffice.org/2000/help"/>0 = cell is not protected</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="206" xmlns:help="http://openoffice.org/2000/help"/>Returns a character string that indicates the number format.</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="207" xmlns:help="http://openoffice.org/2000/help"/>, = number with thousands separator</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="208" xmlns:help="http://openoffice.org/2000/help"/>F = number without thousands separator</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="212" xmlns:help="http://openoffice.org/2000/help"/>In the above formats, the number of decimal places after the decimal separator is given as a number. Example: the number format #,##0.0 returns ,1 and the number format 00.000% returns P3</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="213" xmlns:help="http://openoffice.org/2000/help"/>D1 = MMM-D-YY, MM-D-YY and similar formats</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="222" xmlns:help="http://openoffice.org/2000/help"/>G = All other formats</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="223" xmlns:help="http://openoffice.org/2000/help"/>- (Minus) at the end = negative numbers are formatted in color</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="224" xmlns:help="http://openoffice.org/2000/help"/>() (brackets) at the end = there is an opening bracket in the format code</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="226" xmlns:help="http://openoffice.org/2000/help"/>Returns 1, if negative values have been formatted in color, otherwise 0.</p>
<p class="TextInTable"><help:paragraphinfo state="U" number="228" xmlns:help="http://openoffice.org/2000/help"/>Returns 1 if the format code contains an opening bracket (, otherwise 0.</p>
</span></td></tr></table>
<p class="Paragraph"><help:paragraphinfo state="U" number="159" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Reference</span> (list of options) is the position of the cell to be examined. If <span class="T1">Reference</span> is a range, the cell moves to the top left of the range. If <span class="T1">Reference</span> is missing, <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc uses the position of the cell in which this formula is located. Microsoft Excel uses the reference of the cell in which the cursor is positioned.</p>